/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package mS;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Sub Task</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link mS.SubTask#getData <em>Data</em>}</li>
 *   <li>{@link mS.SubTask#getCpu <em>Cpu</em>}</li>
 *   <li>{@link mS.SubTask#getSubId <em>Sub Id</em>}</li>
 *   <li>{@link mS.SubTask#getWcet <em>Wcet</em>}</li>
 *   <li>{@link mS.SubTask#getPriority <em>Priority</em>}</li>
 *   <li>{@link mS.SubTask#isAtomic <em>Atomic</em>}</li>
 *   <li>{@link mS.SubTask#getTask <em>Task</em>}</li>
 * </ul>
 * </p>
 *
 * @see mS.MSPackage#getSubTask()
 * @model
 * @generated
 */
public interface SubTask extends EObject {
	/**
	 * Returns the value of the '<em><b>Data</b></em>' reference list.
	 * The list contents are of type {@link mS.Data}.
	 * It is bidirectional and its opposite is '{@link mS.Data#getSubTasks <em>Sub Tasks</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Data</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Data</em>' reference list.
	 * @see mS.MSPackage#getSubTask_Data()
	 * @see mS.Data#getSubTasks
	 * @model opposite="subTasks"
	 * @generated
	 */
	EList<Data> getData();

	/**
	 * Returns the value of the '<em><b>Cpu</b></em>' reference.
	 * It is bidirectional and its opposite is '{@link mS.CPU#getSubTasks <em>Sub Tasks</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Cpu</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Cpu</em>' reference.
	 * @see #setCpu(CPU)
	 * @see mS.MSPackage#getSubTask_Cpu()
	 * @see mS.CPU#getSubTasks
	 * @model opposite="subTasks" required="true"
	 * @generated
	 */
	CPU getCpu();

	/**
	 * Sets the value of the '{@link mS.SubTask#getCpu <em>Cpu</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Cpu</em>' reference.
	 * @see #getCpu()
	 * @generated
	 */
	void setCpu(CPU value);

	/**
	 * Returns the value of the '<em><b>Sub Id</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Sub Id</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Sub Id</em>' attribute.
	 * @see #setSubId(String)
	 * @see mS.MSPackage#getSubTask_SubId()
	 * @model required="true"
	 * @generated
	 */
	String getSubId();

	/**
	 * Sets the value of the '{@link mS.SubTask#getSubId <em>Sub Id</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Sub Id</em>' attribute.
	 * @see #getSubId()
	 * @generated
	 */
	void setSubId(String value);

	/**
	 * Returns the value of the '<em><b>Wcet</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Wcet</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Wcet</em>' attribute.
	 * @see #setWcet(int)
	 * @see mS.MSPackage#getSubTask_Wcet()
	 * @model required="true"
	 * @generated
	 */
	int getWcet();

	/**
	 * Sets the value of the '{@link mS.SubTask#getWcet <em>Wcet</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Wcet</em>' attribute.
	 * @see #getWcet()
	 * @generated
	 */
	void setWcet(int value);

	/**
	 * Returns the value of the '<em><b>Priority</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Priority</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Priority</em>' attribute.
	 * @see #setPriority(int)
	 * @see mS.MSPackage#getSubTask_Priority()
	 * @model required="true"
	 * @generated
	 */
	int getPriority();

	/**
	 * Sets the value of the '{@link mS.SubTask#getPriority <em>Priority</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Priority</em>' attribute.
	 * @see #getPriority()
	 * @generated
	 */
	void setPriority(int value);

	/**
	 * Returns the value of the '<em><b>Atomic</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Atomic</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Atomic</em>' attribute.
	 * @see #setAtomic(boolean)
	 * @see mS.MSPackage#getSubTask_Atomic()
	 * @model required="true"
	 * @generated
	 */
	boolean isAtomic();

	/**
	 * Sets the value of the '{@link mS.SubTask#isAtomic <em>Atomic</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Atomic</em>' attribute.
	 * @see #isAtomic()
	 * @generated
	 */
	void setAtomic(boolean value);

	/**
	 * Returns the value of the '<em><b>Task</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link mS.Task#getSubTasks <em>Sub Tasks</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Task</em>' container reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Task</em>' container reference.
	 * @see #setTask(Task)
	 * @see mS.MSPackage#getSubTask_Task()
	 * @see mS.Task#getSubTasks
	 * @model opposite="subTasks" required="true" transient="false"
	 * @generated
	 */
	Task getTask();

	/**
	 * Sets the value of the '{@link mS.SubTask#getTask <em>Task</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Task</em>' container reference.
	 * @see #getTask()
	 * @generated
	 */
	void setTask(Task value);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model
	 * @generated
	 */
	void initPriority(int priorityValue);

} // SubTask
